package com.rockxin.cat.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.rockxin.cat.R;
import com.rockxin.cat.bean.UseBean;

import java.util.List;

/**
 * Created by cat on 18-3-1.
 */

public class BankListAdapter extends BaseQuickAdapter<UseBean, BaseViewHolder> {

    public BankListAdapter(int layoutResId, @Nullable List<UseBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder viewHolder, UseBean item) {
        viewHolder.setText(R.id.tv_title, item.getName());
    }

}
